<template>
  <div class="product-section">
    <h3>商品视频介绍</h3>
    <video controls>
      <source :src="videoSrc" type="video/mp4">
      您的浏览器不支持视频播放。
    </video>
  </div>
</template>

<script>
export default {
  props: {
    videoSrc: {
      type: String,
      required: true
    }
  }
}
</script>

<style scoped>
.product-section {
  margin-top: 30px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #212529;
  border-left: 4px solid #007BFF;
  padding-left: 10px;
}

video {
  width: 100%;
  border-radius: 8px;
}
</style>